﻿using UpperComputer.Base.Core.Locators;
using YFurion.Application;

namespace UpperComputer.Base.SystemApplication
{
    public interface IDataDictionaryService : IMSApplicationService<DataDictionaryResultDto, long, DataDictionaryResultRequestDto, DataDictionaryDto, BaseMasterDbContextLocator,BaseSlaveDbContextLocator>
    {
        /// <summary>
        /// 获取树形数据字典
        /// </summary>
        /// <param name="input"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        Task<List<DataDictionaryResultDto>> GetDataDictionarys(DataDictionaryResultRequestDto input, CancellationToken cancellationToken = default);
    }
}
